import requests

cookies = {
    'lianjia_uuid': 'f6fda8cc-3d71-4a4d-a953-be1ab1f5ad0b',
    'select_city': '350100',
    'lianjia_ssid': '4183951f-20b7-4874-986b-cbe37b0a9386',
    'sajssdk_2015_cross_new_user': '1',
    'sensorsdata2015jssdkcross': '%7B%22distinct_id%22%3A%2219165a7563f1157-0c725de5b94668-4c657b58-2073600-19165a75640e3a%22%2C%22%24device_id%22%3A%2219165a7563f1157-0c725de5b94668-4c657b58-2073600-19165a75640e3a%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E4%BB%98%E8%B4%B9%E5%B9%BF%E5%91%8A%E6%B5%81%E9%87%8F%22%2C%22%24latest_referrer%22%3A%22https%3A%2F%2Fcn.bing.com%2F%22%2C%22%24latest_referrer_host%22%3A%22cn.bing.com%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC%22%2C%22%24latest_utm_source%22%3A%22biying%22%2C%22%24latest_utm_medium%22%3A%22pinzhuan%22%2C%22%24latest_utm_campaign%22%3A%22wymoren%22%2C%22%24latest_utm_content%22%3A%22biaotimiaoshu%22%2C%22%24latest_utm_term%22%3A%22biaoti%22%7D%7D',
}

headers = {
    'Accept': 'application/json, text/plain, */*',
    'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
    'Cache-Control': 'no-cache',
    'Connection': 'keep-alive',
    'Content-Type': 'application/json;charset=UTF-8',
    'Origin': 'https://fz.ke.com',
    'Pragma': 'no-cache',
    'Referer': 'https://fz.ke.com/',
    'Sec-Fetch-Dest': 'empty',
    'Sec-Fetch-Mode': 'cors',
    'Sec-Fetch-Site': 'same-site',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0',
    'sec-ch-ua': '"Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
}

json_data = {
    'service': 'https://ajax.api.ke.com/login/login/getuserinfo',
    'mainAuthMethodName': 'username-password',
    'accountSystem': 'customer',
    'credential': {
        'username': '18871233219',
        'password': 'Zd0JP2gqQLZcT3o3SLOBM3ZL8amhQgsC6uo7dBGv+Lus9vm0DIKFpQHzcnDlOYku+4Jd6wg83b1GDO7ShimtytaufQj8JOV8kAiIOFCc2g3bVigJHzoieGMsHeBCy/MuvpG8qSpek+tKr3Fr9u+edXgNqqkthk7SfWjpuNm3mjA=',
        'encodeVersion': '1',
    },
    'context': {
        'ua': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0',
        'clientSource': 'pc',
        'os': 'Windows',
        'osVersion': '10',
        'registerPosLx': 908,
        'registerPosLy': 152.5,
        'registerPosRx': 1188,
        'registerPosRy': 196.5,
        'clickPosX': 1100,
        'clickPosY': 177,
        'screen': '1857_252',
        'dataId': 'XVEo+ZoGzYOFHmCA25l/ROYDEx3VS3jImfIsYk6GvJZv0Ywj9iN6ckzyf/UNTzKQ',
    },
    'loginTicketId': 'grjef5NXyMDCYpVv93UvOygjNvQDGbLD',
    'version': '2.0',
    'ticketMaxAge': 604800,
}

response = requests.post('https://clogin.ke.com/authentication/authenticate', cookies=cookies, headers=headers, json=json_data)
print(response.json())